package com.wxtf.platform.tools;

import java.sql.Types;

import org.hibernate.Hibernate;
import org.hibernate.dialect.*;

/**
 * <li>Title: Mysql5Dialect.java</li>
 * <li>Project: baseplatform</li>
 * <li>Package: com.wxtf.platform.tools</li>
 * <li>Description: </li>
 * <li>Copyright: Copyright (c) 2012</li>
 * <li>Company: wxthtf Technologies </li>
 * <li>Created on Sep 29, 2012 10:53:54 AM</li>
 * 
 * @author chun_chang
 * @version 1.0.0.0
 * 
 */
public class Mysql5Dialect extends MySQLInnoDBDialect{
	public Mysql5Dialect(){
		super();
		registerHibernateType(Types.DECIMAL, Hibernate.BIG_DECIMAL.getName());
		registerHibernateType(-1, Hibernate.STRING.getName());
	}
}
